package com.xy.blog.user.service.model;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author zanhonglei
 * @version V1.0
 * @Description:
 * @date 2020/3/5
 */
@Data
public class OrganizationBO {

    private Long id;

    private String name;

    /**
     * 编码
     */
    private String code;

    private String parent;
    /**
     * 层级 ,用户 / 分割 ,例如 : org_code/aaaa/bbbbb/ccccc/ddddd
     * 只记录父当前级的父级,不记录子集
     */
    private String level;
    /**
     * 是否是叶子节点
     * true
     * false
     */
    private String leaf;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
